package com.zengqingfa.juc.n4.synchronize;

/**
 * @fileName: SynchronizedTest3
 * @author: zengqf3
 * @date: 2021-6-19 15:14
 * @description:
 */
public class SynchronizedTest3 {

    static int i = 0;

    private void add() {
        synchronized (this) {
            i++;
        }
    }
}
